package com.hibikiluler.javalearning.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class LearnCollect {
    @ExcelIgnore
    @ApiModelProperty("主键")
    private Integer id;

    @Excel(name="用户id")
    @ApiModelProperty("用户id")
    private String userId;

    @Excel(name="资讯id")
    @ApiModelProperty("资讯id")
    private String learnId;

    @Excel(name="资讯标题")
    @ApiModelProperty("资讯标题")
    private String title;

    @Excel(name="收藏时间")
    @ApiModelProperty("收藏时间")
    private String collectTime;

    @Excel(name="资讯作者")
    @ApiModelProperty("资讯作者")
    private String createName;
}
